package com.jieli.stream.dv.running2.camera;

import android.graphics.SurfaceTexture;
import android.view.SurfaceHolder;

public interface ICamera {
    boolean open();
    void close();
    void startPreview(SurfaceHolder holder);
    void startPreview(SurfaceTexture texture);
    boolean isPreviewing();
    void stopPreview();
    void setDisplayOrientation(int rotation);
}
